package com.example.tencentdemo.service;

import com.example.tencentdemo.DTO.adminMsg;
import com.example.tencentdemo.entity.admin_message;
import com.example.tencentdemo.entity.group_message;

import java.util.List;

public interface MessageService {

    List<group_message> queryByGid(String group_id);

    int insertMessage(group_message group_message);


    /**
        插入与查询 管理员信息记录
     */
    //传入用户id和管理员id和商品id 查询聊天记录
    List<admin_message> getChatRecords(adminMsg adminMsg);

    // 插入消息
    int insertAdmin_Message(admin_message admin_message);
}
